package com.yvon.maple.constants;

/**
 * @author : Yvon
 * @since : 2021-09-24
 */
public interface SystemConstant {

    class Common {

        /**
         * 根ID
         */
        public static final Long ROOT_ID = 0L;

        /**
         * LIMIT_ONE
         */
        public static final String LIMIT_ONE = "limit 1";


        /**
         * 令牌头
         */
        public static final String TOKEN_HEADER = "Authorization";

        /**
         * [字符串]登录用户
         */
        public static final String STR_LOGIN_USER = "login_user";

        /**
         * [字符串]id
         */
        public static final String STR_ID = "id";

        /**
         * [字符串]userId
         */
        public static final String STR_USER_ID = "userId";

        /**
         * [字符串]组织 organization
         */
        public static final String STR_ORGANIZATION = "organization";

        /**
         * feign请求前缀
         */
        public static final String FEIGN_INSIDE_URL_PREFIX = "/feign";
    }

    class System {
        /**
         * 角色【普通用户】ID
         */
        public static final Long ROLE_USER_ID = 1L;
    }

    class Auth {

    }

    class Msg {

    }

    class Base {

    }
}
